import os
import sys

if os.access('/proc/xen', os.R_OK):
    pass
else:
    #sys.path.append("modules")
    import cpu_mon_module as cmm
    c = cmm.CpuMonModule()
    #c.get_cpu_info()
    print c.info["cpuinfo"]

#fd = file('/proc/cpuinfo')
#while True:
#    str = fd.readline()
#    if str == '':
#        break
#    else:
#        str = str.strip()
#    #print str
#fd.close()
